<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width= , initial-scale=1.0">
    <title>动画作业</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
           width: 50px;
           height: 50px;
           border-radius: 20px 30px 40px 50px;
           background-color: pink;
           animation: move 5s linear infinite;
           }
        
      @keyframes move {
           0% {
             transform: translateX(0);
           }
           25% {
             transform: translate(500px,0);
           }
           50% {
             transform: translate(500px,500px);
           }
           75% {
             transform: translate(0,500px);
           }
           100% {
             transform: translateX(0);
           } 
      }       
    </style>
</head>
<body>
   <div class="box"></div>
</body>
</html>